/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.tsdemo.service.rulemodule;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.fosung.frame.common.persistence.Page;
import com.fosung.frame.common.service.CrudService;
import com.fosung.frame.tsdemo.entity.rulemodule.RuleModule;
import com.fosung.frame.tsdemo.dao.rulemodule.RuleModuleDao;

/**
 * 用户行业层级结构Service
 * @author zhaofj
 * @version 2017-07-06
 */
@Service
@Transactional(readOnly = true)
public class RuleModuleService extends CrudService<RuleModuleDao, RuleModule> {

	public RuleModule get(String id) {
		return super.get(id);
	}
	
	public List<RuleModule> findList(RuleModule ruleModule) {
		return super.findList(ruleModule);
	}
	
	public Page<RuleModule> findPage(Page<RuleModule> page, RuleModule ruleModule) {
		return super.findPage(page, ruleModule);
	}
	
	@Transactional(readOnly = false)
	public void save(RuleModule ruleModule) {
		super.save(ruleModule);
	}
	
	@Transactional(readOnly = false)
	public void delete(RuleModule ruleModule) {
		super.delete(ruleModule);
	}
	
}